package com.baigu.order.dao.mapper;

import com.baigu.order.dao.model.BgOrder;
import com.baigu.order.dao.model.BgOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgOrderMapper {
    long countByExample(BgOrderExample example);

    int deleteByExample(BgOrderExample example);

    int deleteByPrimaryKey(String id);

    int insert(BgOrder record);

    int insertSelective(BgOrder record);

    List<BgOrder> selectByExample(BgOrderExample example);

    BgOrder selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BgOrder record, @Param("example") BgOrderExample example);

    int updateByExample(@Param("record") BgOrder record, @Param("example") BgOrderExample example);

    int updateByPrimaryKeySelective(BgOrder record);

    int updateByPrimaryKey(BgOrder record);
}